package com.cmfi.domain.userRoleAuthEntity;

import java.io.Serializable;
import java.util.List;

import lombok.Data;

@Data
public class Role implements Serializable {

	private static final long serialVersionUID = -403567854238683121L;

	/**
	 * 主键
	 */
	private Long id;

	/**
	 * 角色名
	 */
	private String roleName;

	/**
	 * 描述
	 */
	private String description;
	
	/**
	 * 权限列表
	 */
	private List<Long> permissionList;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public List<Long> getPermissionList() {
		return permissionList;
	}

	public void setPermissionList(List<Long> permissionList) {
		this.permissionList = permissionList;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

}
